]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
networkAgent: Make sure to update the OK button on dialog pop up
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 3 Nov 2013 21:10:11 +0000 (16:10 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 4 Nov 2013 13:55:59 +0000 (08:55 -0500)
For consistency.

js/ui/components/networkAgent.js

index 6a965689062a15128fddd0b2a57e73efceec858d..d452f9cc7635ac88074cc4c99628d34b68a1eae9 100644 (file)
@@ -138,6 +138,8 @@ const NetworkSecretDialog = new Lang.Class({
                            key:    Clutter.KEY_Escape,
                          },
                          this._okButton]);
+
+        this._updateOkButton();
     },
 
     _updateOkButton: function() {